In linux, the command chmod is used to change the folder permission and change the folder permission of the file owner. when you want to use the chmod command to change the permission, add a letter to the chmod and then a file name (for example,
In linux, the command chmod is used to change the folder permission and change the folder permission of the file owner. chmod is followed by a letter, followed by a file name (such as chmod a + x) www.2cto.com. When you want to use the chmod command
, usingchown CommandChange file ownerin the shell, you can use thechown Commandto change all the files. chown Commandis the abbreviation for change owner (changing owner). It needs to be noted thatThe user must be in the existing system, that is,
A few common concepts about Linux folders
PathDescriptive narrative mechanism of file location information. Refers to a path from a folder hierarchy in a tree folder to one of its files. It is divided into relative path and absolute path;
It is the true nature of the struggle to be accused of doing good deeds and still persist. --Balzacthe content of this lecture: file owner, group, other groupEach user in Linux must belong to a group and cannot be independent of the group. In Linux ,
Transferred from: http://www.linuxidc.com/Linux/2015-03/114695.htmThere are two modifications in Ubuntu that can be used, "change Mode"&"change owner"That is, chmod and chown, which can use the recursive parameter-r to change permissions for all
The Chmodchmod command is used to modify the permissions of a file or folder.Have studied beforels -l, the first one--has been studied before, and substituting refers to this is a textThe following rw-r--r--is the file's permissionsThe first three
Many operations on Ubuntu are performed on the terminal. Files managed by the sudo command are owned by the root user, which cannot be changed by the general user. On the graphic interface, you can use the permission options folder in the attribute
Common methods are as follows:sudo chmod 600xxx (only the owner has read and write permissions)sudo chmod 644xxx (owner has read and write permissions, group user only Read permissions)sudo chmod 700xxx (only the owner has read and write and Execute
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.